package com.emperor.receipt.logic;

import com.emperor.core.logic.BizModel;
import com.emperor.customer.logic.Customer;

public interface Receipt extends BizModel {

	public static final Integer START_CODEID = new Integer(20000001);
	
	public static final String PAY_CASH = "pay.cash";
	public static final String PAY_VISA = "pay.visa";
	public static final String PAY_MASTER = "pay.master";
	
	public static final String FLD_ID = "id";
	public static final String FLD_CODE = "code";
	public static final String FLD_CODEID = "codeid";
	public static final String FLD_CUSTOMER = "customer";
	public static final String FLD_TOTAL = "total";
	public static final String FLD_PAID = "paid";
	public static final String FLD_CHANGE = "change";
	public static final String FLD_PAYMETHOD = "paymethod";
	public static final String FLD_STATUS = "status";
	public static final String FLD_CUSTNAME = "custname";

	public Long getId();

	public void setId(Object id);
	
	public String getCode();
	
	public void setCode(Object code);

	public Long getCodeid();
	
	public void setCodeid(Object codeid);
	
	public Customer getCustomer();

	public void setCustomer(Object customer);

	public Double getTotal();

	public void setTotal(Object total);
	
	public Double getPaid();

	public void setPaid(Object paid);

	public Double getChange();

	public void setChange(Object change);
	
	public String getStatus();
	
	public void setStatus(Object status);
	
	public String getPaymethod();
	
	public void setPaymethod(Object paymethod);
	
	public String getCustname();
	
	public void setCustname(Object custname);
}
